package com.creditcmsplt.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 征信资料上传 配置属性获取,包含php服务以及Baidu图文识别部分
 * 
 * @author 雷阳军
 *
 */
@Component
@ConfigurationProperties(prefix = "creditcmssplt.collectInfo")
public class CollectInfoProperties {

	private String loginurl;

	private String tokenurl;

	private String uploadOtherImage;

	private String uploadIdentifyImage;
	
	private String uploadUserInfo;

	private String queryApi;

	private String imagesPath;//用户上传的身份证图片存储临时目录

	private String authorPdfApply;

	private String authorPdfDown;

	private String changeStatusApi;

	private String baidu_apikey;

	private String baidu_appid;

	private String baidu_secretkey;

	private String countApi;

	public CollectInfoProperties() {

	}

	public String getLoginurl() {
		return loginurl;
	}

	public void setLoginurl(String loginurl) {
		this.loginurl = loginurl;
	}

	public String getTokenurl() {
		return tokenurl;
	}

	public void setTokenurl(String tokenurl) {
		this.tokenurl = tokenurl;
	}

	public String getUploadOtherImage() {
		return uploadOtherImage;
	}

	public void setUploadOtherImage(String uploadOtherImage) {
		this.uploadOtherImage = uploadOtherImage;
	}

	public String getUploadIdentifyImage() {
		return uploadIdentifyImage;
	}

	public void setUploadIdentifyImage(String uploadIdentifyImage) {
		this.uploadIdentifyImage = uploadIdentifyImage;
	}

	public String getQueryApi() {
		return queryApi;
	}

	public void setQueryApi(String queryApi) {
		this.queryApi = queryApi;
	}

	/**
	 * 用户上传的身份证图片存储临时目录
	 * @return
	 */
	public String getImagesPath() {
		return imagesPath;
	}

	public void setImagesPath(String imagesPath) {
		this.imagesPath = imagesPath;
	}

	public String getAuthorPdfApply() {
		return authorPdfApply;
	}

	public void setAuthorPdfApply(String authorPdfApply) {
		this.authorPdfApply = authorPdfApply;
	}

	public String getAuthorPdfDown() {
		return authorPdfDown;
	}

	public void setAuthorPdfDown(String authorPdfDown) {
		this.authorPdfDown = authorPdfDown;
	}

	public String getChangeStatusApi() {
		return changeStatusApi;
	}

	public void setChangeStatusApi(String changeStatusApi) {
		this.changeStatusApi = changeStatusApi;
	}


	public String getBaidu_apikey() {
		return baidu_apikey;
	}

	public void setBaidu_apikey(String baidu_apikey) {
		this.baidu_apikey = baidu_apikey;
	}

	public String getBaidu_appid() {
		return baidu_appid;
	}

	public void setBaidu_appid(String baidu_appid) {
		this.baidu_appid = baidu_appid;
	}

	public String getBaidu_secretkey() {
		return baidu_secretkey;
	}

	public void setBaidu_secretkey(String baidu_secretkey) {
		this.baidu_secretkey = baidu_secretkey;
	}

	public String getCountApi() {
		return countApi;
	}

	public void setCountApi(String countApi) {
		this.countApi = countApi;
	}

	public String getUploadUserInfo() {
		return uploadUserInfo;
	}

	public void setUploadUserInfo(String uploadUserInfo) {
		this.uploadUserInfo = uploadUserInfo;
	}
	
	@Override
	public String toString() {
		return "["
                +"loginurl="+loginurl
                +",tokenurl="+tokenurl
                +",uploadOtherImage="+uploadOtherImage
                +",uploadIdentifyImage="+uploadIdentifyImage
                +",uploadUserInfo="+uploadUserInfo
                +",queryApi="+queryApi
                +",imagesPath="+imagesPath
                +",authorPdfApply="+authorPdfApply
                +",authorPdfDown="+authorPdfDown
                +",changeStatusApi="+changeStatusApi
                +",baidu_apikey="+baidu_apikey
                +",baidu_appid="+baidu_appid
                +",baidu_secretkey="+baidu_secretkey
                +",countApi="+countApi
                +"]"; 
	}

}
